Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(geometry): properly destroy geometry input #469

Merged
merged 2 commits into from
Oct 17, 2019

Conversation

cbourget
Copy link
Collaborator

Please check if the PR fulfills these requirements

What is the current behavior? (You can also link to an open issue here)
When this component is destroyed, there is still a reference to it somewhere in the angular forms core. Reusing the same form control after that yields to the value being set twice. This is not a common use case.

What is the new behavior?
On destroy, set ready to false to avoid any side-effect.

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications:

Other information:

@mbarbeau mbarbeau merged commit 96afac9 into master Oct 17, 2019
@mbarbeau mbarbeau deleted the geometry-form-field-destroy branch October 17, 2019 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants